﻿using WCS.Entities.Enum;

namespace WCS.Entities
{
    public static class JobHelper
    {

        /// <summary>
        /// 创建充电任务
        /// </summary>
        /// <returns></returns>
        //public static Job CreateChargeJob(string target, string region, string robotId)
        //{
        //    return new Job()
        //    {
        //        Id = DateTime.Now.ToString("yyMMddHHmmssfff"),
        //        CreateTime = DateTime.Now,
        //        BeginTime = DateTime.Now,
        //        Status = TaskState.Excuting,
        //        Priority = 1,
        //        Target = target,
        //        Type = TaskType.Charge,
        //        Region = region,
        //        RobotId = robotId,

        //    };
        //}


        /// <summary>
        /// 创建停车任务
        /// </summary>
        /// <returns></returns>
        //public static Job CreateParkJob(string target, string region, string robotId)
        //{
        //    return new Job()
        //    {
        //        Id = DateTime.Now.ToString("yyMMddHHmmssfff"),
        //        CreateTime = DateTime.Now,
        //        BeginTime = DateTime.Now,
        //        Target = target,
        //        Status = TaskState.Excuting,
        //        Priority = 1,
        //        Type = TaskType.Park,
        //        Region = region,
        //        RobotId = robotId,


        //    };
        //}


    }
}
